<template lang="pug">
  keep-alive
    kalix-table(bizKey="linechartrequest" title='专线宽带占用比' ref="kalixTable"
    v-bind:tableFields="tableFields"
    v-bind:targetURL="linechartrequestURL"
    v-bind:bizDialog="linechartrequestDialog"
    v-bind:btnList="linechartrequestBtnList"
    v-bind:buttonPermissionPrefix="buttonPermissionPrefix"
    v-bind:toolbarBtnList="toolbarBtnList"
    bizSearch="LinechartrequestSearch")
</template>

<script type="text/ecmascript-6">
  import {LinechartrequestURL, linechartrequestBtnPermissionPrefix} from '../config.toml'
  import {linechartrequestConfigBtnList} from './config'
  import KalixTable from '../../../components/corelib/components/common/baseTable'
  export default {
    name: 'kalix-dataPlatform-linechartrequest',
    components: {KalixTable},
    data() {
      return {
        linechartrequestURL: LinechartrequestURL,
        tableFields: [
          {prop: 'uuid', label: 'UUID'},
          {prop: 'name', label: '设备名称'}
        ],
        linechartrequestDialog: [
          {id: 'add', dialog: 'linechartrequestAdd'},
          {id: 'view', dialog: 'linechartrequestView'},
          {id: 'edit', dialog: 'linechartrequestEdit'}
        ],
        linechartrequestBtnList: linechartrequestConfigBtnList,
        buttonPermissionPrefix: linechartrequestBtnPermissionPrefix,
        toolbarBtnList: [
          {id: 'add', isShow: true, title: '添加', isPermission: true}
        ]
      }
    }
  }
</script>

<style scoped lang="stylus">

</style>
